% Test `@MultiLabelKNearestNeighbor`

%%

clear classes
clc

%%

generate_dataset_iris;

%%

mlknn = MultiLabelKNearestNeighbor();

%%

mlknn.build(ds.dmX.mat, ds.dmY.mat);

%%

[Y_hat, Y_out] = mlknn.apply(ds.dmX.mat, ds.dmY.mat);

%%

result = CommonMultiLabelMetric.calc(ds.dmY.mat, Y_hat, Y_out);
